import request from '@/utils/request'

// 查询人员刷脸记录列表
export function listArchiveRoomFaceRecords(query) {
  return request({
    url: '/archive/ArchiveRoomFaceRecords/list',
    method: 'get',
    params: query
  })
}

// 查询人员刷脸记录详细
export function getArchiveRoomFaceRecords(id) {
  return request({
    url: '/archive/ArchiveRoomFaceRecords/' + id,
    method: 'get'
  })
}

// 新增人员刷脸记录
export function addArchiveRoomFaceRecords(data) {
  return request({
    url: '/archive/ArchiveRoomFaceRecords',
    method: 'post',
    data: data
  })
}

// 修改人员刷脸记录
export function updateArchiveRoomFaceRecords(data) {
  return request({
    url: '/archive/ArchiveRoomFaceRecords',
    method: 'put',
    data: data
  })
}

// 删除人员刷脸记录
export function delArchiveRoomFaceRecords(id) {
  return request({
    url: '/archive/ArchiveRoomFaceRecords/' + id,
    method: 'delete'
  })
}
